<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Iction - Free Admin Template</title>
<link rel="stylesheet" type="text/css" href="@{'public/stylesheets/style.css'}" />
<style>
.error{font-size:22px; color:red; width:356px; height:36px; margin:0 0 0 100px;}
</style>
</head>
<body>
<div id="loginpanelwrap">
	<div class="loginheader">
    	<div class="logintitle"><a href="#">Iction Admin</a></div>
    </div>
	#{form  @Application.checkUser()}
    <div class="loginform">
        <div class="loginform_row">
	        <label>Username:</label>
	        <input type="text" class="loginform_input" name="user.name" value=""/>
        </div>
        <div class="error">#{error 'user.name'/}</div>
        <div class="loginform_row">
	        <label>Password:</label>
	        <input type="password" class="loginform_input" name="user.password" />
        </div>
        <div class="error">#{error 'user.password'/}</div>
	    <div class="loginform_row">
	        <input type="submit" class="loginform_submit" value="Login" />
        </div> 
        <div class="clear"></div>
    </div>
 	#{/form}
</div>
</body>
</html>